import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ImagesController } from './images.controller';
import { ImagesService } from './images.service';
import { Image } from './image.entity';
import { TableTemplateService } from "../../service/template.service"
import { TableTemplate } from "../../entities/template.entity"
@Module({
  imports: [TypeOrmModule.forFeature([Image, TableTemplate])], // 允许该模块使用Image的Repository
  controllers: [ImagesController],
  providers: [ImagesService, TableTemplateService],
})
export class ImagesModule {}